T(RN, 0x1.fffffffffffffp+1023,                            inf,                     inf,          0x0p+0, INEXACT|OVERFLOW)
T(RN, 0x1.fffffffffffffp+1023,                        0x0p+0L, 0x1.ffffffffffffep+1023,          0x0p+0, 0)
T(RN,               0x1p-1074,                           -inf,                  0x0p+0,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,               0x1p-1074,                            inf,               0x1p-1073,          0x0p+0, INEXACT|UNDERFLOW)
#if LDBL_MANT_DIG > DBL_MANT_DIG
T(RN,               0x1p-1074,     0x1.ffffffffffffffep-1075L,                  0x0p+0,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,               0x1p-1074,     0x1.000000000000002p-1074L,               0x1p-1073,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,                  0x1p+0,       0x1.0000000000000002p+0L,    0x1.0000000000001p+0,          0x0p+0, 0)
T(RN,                  0x1p+0,       0x1.fffffffffffffffep-1L,    0x1.fffffffffffffp-1,          0x0p+0, 0)
#endif
T(RN, 0x1.ffffffffffffcp-1023,                        0x1p+0L, 0x1.ffffffffffffep-1023,          0x0p+0, INEXACT|UNDERFLOW)
T(RN, 0x1.ffffffffffffep-1023,                        0x1p+0L,               0x1p-1022,          0x0p+0, 0)
T(RN, 0x1.0000000000001p-1022,                        0x0p+0L,               0x1p-1022,          0x0p+0, 0)
T(RN,               0x1p-1022,                        0x0p+0L, 0x1.ffffffffffffep-1023,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,                  0x1p+0,                        0x1p+0L,                  0x1p+0,          0x0p+0, 0)
T(RN,                  0x1p+0,                       -0x1p+0L,    0x1.fffffffffffffp-1,          0x0p+0, 0)
T(RN,                 -0x1p+0,                        0x1p+0L,   -0x1.fffffffffffffp-1,          0x0p+0, 0)
T(RN,                 -0x1p+0,                       -0x1p+0L,                 -0x1p+0,          0x0p+0, 0)
T(RN,                  0x1p+0,                            nan,                     nan,          0x0p+0, 0)
T(RN,                     nan,                        0x1p+0L,                     nan,          0x0p+0, 0)
T(RN,                     nan,                            nan,                     nan,          0x0p+0, 0)
T(RN,                  0x0p+0,                            nan,                     nan,          0x0p+0, 0)
T(RN,                  0x0p+0,                            inf,               0x1p-1074,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,                  0x0p+0,                           -inf,              -0x1p-1074,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,                  0x0p+0,                        0x0p+0L,                  0x0p+0,          0x0p+0, 0)
T(RN,                  0x0p+0,                       -0x0p+0L,                 -0x0p+0,          0x0p+0, 0)
T(RN,                 -0x0p+0,                            nan,                     nan,          0x0p+0, 0)
T(RN,                 -0x0p+0,                            inf,               0x1p-1074,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,                 -0x0p+0,                           -inf,              -0x1p-1074,          0x0p+0, INEXACT|UNDERFLOW)
T(RN,                 -0x0p+0,                        0x0p+0L,                  0x0p+0,          0x0p+0, 0)
T(RN,                 -0x0p+0,                       -0x0p+0L,                 -0x0p+0,          0x0p+0, 0)
T(RN,                     inf,                            inf,                     inf,          0x0p+0, 0)
T(RN,                     inf,                           -inf, 0x1.fffffffffffffp+1023,          0x0p+0, 0)
T(RN,                     inf,                            nan,                     nan,          0x0p+0, 0)
T(RN,                    -inf,                            inf,-0x1.fffffffffffffp+1023,          0x0p+0, 0)
T(RN,                    -inf,                           -inf,                    -inf,          0x0p+0, 0)
T(RN,                    -inf,                            nan,                     nan,          0x0p+0, 0)
